﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace AutoPartsSearch.Domain.Entities
{
    public class Offer
    {
        public int Id { get; set; }

        public int SellerId { get; set; }
        [Required]
        public int  QueryId { get; set; }
        [Required]
        public decimal Price { get; set; }
        [Required]
        public string Currency { get; set; }

        public DateTime Created { get; set; }

        public SearchQuery SearchQuery { get; set; }



        public string Comments { get; set; }
    }
}
